<?php
include("header.php");
include("model/DB.php");
include("model/User.php");
include("function/admin.login.php");
?>
<center>
<div id="admin_body">
	<div id="topbar">
		<a href="admin.kid.php">Student Management</a>|
		<a href="admin.teacher.php">Teacher Management</a>|
		<a href="admin.class.php">Class Management</a>|
		<a href="admin.grade.php">Grade Management</a>|
		<a href="admin.news.php">News Management</a>
	</div>
<br>
<div id="admin_title">Kindergarten Stastics</div>
<div id="admin_content">
	<table>
	<thead>
		<tr>
			<td>
				Students
			</td>
			<td>
				Parents
			</td>
			<td>
				Teachers
			</td>
			<td>
				Classes
			</td>
		<tr>
	</thead>
	<tbody>
		<tr>
			<td>
				<?php echo User::getStat('kid'); ?>
			</td>
			<td>
				<?php echo User::getStat('user','parent'); ?>
			</td>		
			<td>
				<?php echo User::getStat('user','teacher'); ?>
			</td>
			<td>
				<?php echo User::getStat('class');  ?>
			</td>
		</tr>
	</tbody>
	<tr></tr>
	</table>
</div>
<center>